package com.example.parttimejob.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("part_time_jobs")
public class PartTimeJobs implements Serializable {
   @TableId(value = "job_id",type= IdType.AUTO)
   private Integer jobId;
   private Integer userId;
   private Integer merchantId;
   private String title;
   private String descriptions;
   private String salary;
   private Date publishTime;
   private Date deadline;
   private String jobStatus;
   private String category;
}
